﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Model
{
    public class OrderInfo
    {
        public OrderInfo(int orderId, DateTime orderDate, string userName, string shipName, string shipAddress, string shipPhone,int orderState)
        {
            this._orderId = orderId;
            this._orderDate = orderDate;
            this._userName = userName;
            this._shipName = shipName;
            this._shipAddress = shipAddress;
            this._shipPhone = shipPhone;
            this._orderState = orderState;
        }

        private int _orderId;
        public int OrderId
        {
            get { return _orderId; }
            set { _orderId = value; }
        }

        private DateTime _orderDate;
        public DateTime OrderDate
        {
            get { return _orderDate; }
            set { _orderDate = value; }
        }

        private string _userName;
        public string UserName
        {
            get { return _userName; }
            set { _userName = value; }
        }

        private IList<LineItemInfo> _lineItems;
        public IList<LineItemInfo> LineItems
        {
            get { return _lineItems; }
            set { _lineItems = value; }
        }

        private string _shipName;
        public string ShipName
        {
            get { return _shipName; }
            set { _shipName = value; }
        }

        private string _shipAddress;
        public string ShipAddress
        {
            get { return _shipAddress; }
            set { _shipAddress = value; }
        }

        private string _shipPhone;
        public string ShipPhone
        {
            get { return _shipPhone; }
            set { _shipPhone = value; }
        }

        private int _orderState;
        public int OrderState
        {
            get { return _orderState; }
            set { _orderState = value; }
        }

    }
}
